using System;

namespace Server.Items
{
    public class TableWithPurpleClothAddon : BaseAddon
    {
        public override BaseAddonDeed Deed
        {
            get
            {
                return new TableWithPurpleClothDeed();
            }
        }

        [Constructable]
        public TableWithPurpleClothAddon() : base()
        {
            this.AddComponent(new LocalizedAddonComponent(0x118B, 1076275), 0, 0, 0);
        }

        public TableWithPurpleClothAddon(Serial serial) : base(serial)
        {
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.WriteEncodedInt(0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadEncodedInt();
        }
    }

    public class TableWithPurpleClothDeed : BaseAddonDeed
    {
        public override BaseAddon Addon
        {
            get
            {
                return new TableWithPurpleClothAddon();
            }
        }
        public override int LabelNumber
        {
            get
            {
                return 1076275;
            }
        }// Table With A Purple Tablecloth

        [Constructable]
        public TableWithPurpleClothDeed() : base()
        {
            this.LootType = LootType.Blessed;
        }

        public TableWithPurpleClothDeed(Serial serial) : base(serial)
        {
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.WriteEncodedInt(0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadEncodedInt();
        }
    }
}